package FactoryMethodModel;

/**
 * @program: DesignModeProject
 * @description:
 * @author: Li canzhang
 * @create: 2022-04-23 22:14
 **/
public class TestMain {
    public static void main(String[] args) {
        //创建北京各种口味的披萨
        OrderPizza orderPizza = new BJOrderPizza("cheese");
        Pizza pizza = orderPizza.createPizza("cheese");
        System.out.println(pizza);
    }
}
